const mongoose = require('mongoose')
console.log('---开始连接数据库---')
const url = 'mongodb://localhost:27017/h-chat'
mongoose.connect(url, { useNewUrlParser: true, useUnifiedTopology: true })
